package com.tntsl.common.constant;

import lombok.Getter;

/**
 * @author: LvSongnian
 * @date: 2019/9/5 下午 3:22
 */
@Getter
public enum ResultCodeEnum {

    SGIN_EMPTY(0, "标志为空"),
    SIGN_INVALID(1, "标志错误"),
    PUBLICKEY_EMPTY(2, "publicKey 为空"),
    PRIVATEKEY_EXPIRE(3, "秘钥过期");

    private int code;

    private String message;

    ResultCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
